package cn.kgc.ffzw.day18.homework.chihuolianmeng;

/**
 * @author dyy
 * @version 1.0
 * @date 2019/11/23
 * @Description
 * @since JDK1.8
 */
public abstract class PlatForm{
    private int choice;
    InfoList infoList;
    OrederList orederList;

    public PlatForm(InfoList infoList,OrederList orederList){
        this.infoList=infoList;
        this.orederList=orederList;
        System.out.println("欢迎使用“吃货联盟订餐系统”");
        System.out.println("*****************************");
    }


    public void like(){
        infoList.like();
    }

    public void check(){
        orederList.check();
    }

    public void order(){
        orederList.order();
    }


    public void deletorder(){
        orederList.deletorder();
    }

    public void signorder(){
        orederList.signorder();
    }

    public abstract void dosth();

    public int getChoice() {
        return choice;
    }

    public void setChoice(int choice) {
        this.choice = choice;
    }
}
